package com.lanou.elh.sysmanage.item_manage.mapper;

import com.lanou.elh.sysmanage.item_manage.entity.ItemCat;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ItemCatMapper {

    List<ItemCat> selectItemCartListByPid(Integer parent_id);

    int insert(ItemCat itemCat);

    ItemCat selectItmCatById(Long id);

    int updateById(ItemCat itemCat);

    int deleteItemCatById(Long id);

    String selectCnameByCid(Long cid);
}
